import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Link } from 'react-router-dom';
import { Layout, Icon } from 'antd';

import { Home, AccountingSubject } from 'pages';

import './App.scss';

const { Header, Content, Footer, Sider } = Layout;

// const { Column, ColumnGroup } = Table;
// const { TreeNode } = Tree;
// const { TextArea } = Input;
class App extends Component {
  render() {
    return (
      <Router>
        <div>
          <Route exact path="/" component={Home} />
          <Route exact path="/things" component={Home} />
          <Route exact path="/things/inbox" component={Home} />
          <Route exact path="/things/action" component={Home} />
          <Route exact path="/things/context" component={Home} />
          <Route exact path="/things/calendar" component={Home} />
          <Route exact path="/things/flag" component={Home} />
          <Route exact path="/pay/AccountingSubject" component={AccountingSubject} />
          <Route exact path="/pay/list" component={Home} />
          <Route exact path="/pay/Reporter" component={Home} />
          <Route exact path="/blog" component={Home} />
        </div>
      </Router>
    );
  }
}

export default App;
